﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Shop.Core.Domain.Customers;

namespace Shop.Core.Domain.Catalog
{
    /// <summary>
    /// Represents a back in stock subscription
    /// </summary>
    public partial class BackInStockSubscription : BaseEntity<int>
    {
        /// <summary>
        /// Gets or sets the product variant identifier
        /// </summary>
        public virtual int ProductVariantId
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the customer identifier
        /// </summary>
        public virtual int CustomerId
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the date and time of instance creation
        /// </summary>
        public virtual DateTime CreatedOnUtc
        {
            get;
            set;
        }

        /// <summary>
        /// Gets the product variant
        /// </summary>
        public virtual Product Product
        {
            get;
            set;
        }

        /// <summary>
        /// Gets the customer
        /// </summary>
        public virtual Customer Customer
        {
            get;
            set;
        }

    }
}
